<%@ taglib prefix="s" uri="/struts-tags"%>
<style>
.userForm tr td{align:right;}
</style>
<div>
<table class="userForm">
<s:form theme="simple" action="addUser">
<tr><td><s:text name="label.iam" />:</td><td><s:radio name="userType" list="#{'1':'Owner','2':'Agent','3':'Builder'}"  /></td></tr>
<tr><td><s:text name="label.emailId" />:</td><td><s:textfield name="emailId" /></td></tr>
<tr><td><s:text name="label.nickName" />:</td><td><s:textfield name="name" /></td></tr>
<tr><td><s:text name="label.firstName" />:</td><td><s:textfield name="firstName" /></td></tr>
<tr><td><s:text name="label.middleName" />:</td><td><s:textfield name="middleName" value="%{middleName}"/></td></tr>
<tr><td><s:text name="label.lastName" />:</td><td><s:textfield name="lastName" value="%{lastName}"/></td></tr>
<tr><td><s:text name="label.contactNo" />:</td><td><s:textfield name="phoneNo" value="%{phoneNo}"/></td></tr>
<tr><td><s:text name="label.mobileNo" />:</td><td><s:textfield name="mobileNo" value="%{mobileNo}"/></td></tr>
<tr><td><s:text name="label.city" />:</td><td><s:select name="city"
						headerValue="--- Select City ---" headerKey="0"
						list="#application.city"   listValue="name" listKey="id"
						value="%{city}" /></td></tr>
<tr><td><s:text name="label.address" />:</td><td><s:textarea rows="5" cols="20" name="address"value="%{address}"/></td></tr>


<tr><td></td><td><s:submit value="Submit" /><s:reset value="Reset"/></td></tr>
</s:form>
</table>
</div>